<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>经纪人详情</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
	<meta name="apple-mobile-web-app-capable" content="yes" />
	<meta name="format-detection" content="telephone=no" />
	<link rel="stylesheet" href="../../css/public-heder-Reset.css">
	<link rel="stylesheet" href="../../css/U-gift.css">
</head>
<body>
	<!-- page_box -->
	<div class="page-box">
		<!-- header -->
		<header class="page-header">
			<a href="javascript:history.go(-1)" class="back"></a>
			<p class="pege-name">经纪人详情</p>
		</header>
		<div class="liubai"></div>
		<!-- header /-->
		<!-- button -->
		<div class="share_btn clear">
			<div class="angent_names fl">经纪人：<span class="angent_name_name"></span></div>
			<div class="fl">经纪人编码：<span class="angent_code"></span></div>
		</div>
		<!-- button / -->
		<!-- more-list -->
		<div class="Envelope-list">
		   <!--  <div class="Envelope">
		        <ul class="agent_list">
		        	<li>
		        		<dl class="clear">
		        			<dd class="fl">李狗蛋 ligoudan</dd>
		        			<dd class="fr"><span>+2</span>元</dd>
		        		</dl>
		        	</li>
		        	<li>
		        		<dl class="clear">
		        			<dd class="fl">投资金额：500元  </dd>
		        			<dd class="fr">推荐费（元）</dd>
		        		</dl>
		        	</li>
		        	<li>
		        		<dl class="clear">
		        			<dd class="fl">2016-06-12</dd>
		        			<dd class="fr">12.00</dd>
		        		</dl>
		        	</li>
		        </ul>
		    </div> -->
		</div>
		<!-- more-list/ -->
	</div>
<script type="text/javascript" src="../../js/jquery.min.js"></script>
<script type="text/javascript" src="../../js/http-url.js"></script>
<script type="text/javascript" src="../../js/dropload.js"></script>
<script type="text/javascript">
	$(function(){
		var agent_code=window.location.hash.replace('#agent_code=','');
		var page_nuber=0;
		$('.page-box').dropload({
	        scrollArea : window,
	        loadDownFn : function(me){
	          ajaxRequest('/api/menu/agent/nextAgentDetail/'+page_nuber+'/'+agent_code+'',null,function(data){
	          	$('.angent_name_name').text(data.data.all.name);//经纪人名字
				$('.angent_code').text(agent_code);//经纪人code码
	          	page_nuber++;
	            // 判断是否加载完毕
	            if(!data.data.content){
	               // 锁定
	                me.lock();
	              // 无数据
	              me.noData();
	            };
           	 	$(data.data.content).appendTo('.Envelope-list');
           	    me.resetload();
	          },false);  
	        },
	        threshold :50
	    });	

	})
</script>
</body>
</html>